package com.baosight.risk.service.riim.entity;

import com.baosight.risk.base.entity.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_RIIM_RISK_ASSIGNMENT
 */
@Data
@ApiModel
@JsonDeserialize
@Table(name = "T_RIIM_RISK_ASSIGNMENT")
public class RiimRiskAssignment extends BaseEntity {

    /**
     * 重点风险ID
     * <p>
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    IMPORT_GUID
     * Nullable:  true
     */
    @ApiModelProperty("重点风险ID")
    @Column(name = "IMPORT_GUID")
    private String importGuid;

    /**
     * 风险点ID
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    RISK_ID
     * Nullable:  false
     */
    @ApiModelProperty("风险点ID")
    @Column(name = "RISK_ID")
    private String riskId;

    /**
     * 季度
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    QUARTER_CODE
     * Nullable:  true
     */
    @ApiModelProperty("季度")
    @Column(name = "QUARTER_CODE")
    private String quarterCode;

    /**
     * 季度名称
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    QUARTER_NAME
     * Nullable:  true
     */
    @ApiModelProperty("季度名称")
    @Column(name = "QUARTER_NAME")
    private String quarterName;

    /**
     * 任务
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    TASK_NAME
     * Nullable:  true
     */
    @ApiModelProperty("任务")
    @Column(name = "TASK_NAME")
    private String taskName;

    /**
     * 主责单位编码
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    DUTY_COMP_CODE
     * Nullable:  true
     */
    @ApiModelProperty("主责单位编码")
    @Column(name = "DUTY_COMP_CODE")
    private String dutyCompCode;

    /**
     * 主责单位名称
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    DUTY_COMP_NAME
     * Nullable:  true
     */
    @ApiModelProperty("主责单位名称")
    @Column(name = "DUTY_COMP_NAME")
    private String dutyCompName;

    /**
     * 辅责单位编码
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    AUXILIARY_COMP_CODE
     * Nullable:  true
     */
    @ApiModelProperty("辅责单位编码")
    @Column(name = "AUXILIARY_COMP_CODE")
    private String auxiliaryCompCode;

    /**
     * 辅责单位名称
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    AUXILIARY_COMP_NAME
     * Nullable:  true
     */
    @ApiModelProperty("辅责单位名称")
    @Column(name = "AUXILIARY_COMP_NAME")
    private String auxiliaryCompName;

    /**
     * 辅责单位编码
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    AUXILIARY_COMP_CODE_W
     * Nullable:  true
     */
    @ApiModelProperty("辅责单位编码")
    @Column(name = "AUXILIARY_COMP_CODE_W")
    private String auxiliaryCompCodeW;

    /**
     * 辅责单位名称
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    AUXILIARY_COMP_NAME_W
     * Nullable:  true
     */
    @ApiModelProperty("辅责单位名称")
    @Column(name = "AUXILIARY_COMP_NAME_W")
    private String auxiliaryCompNameW;

    /**
     * 备注
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    REMARK
     * Nullable:  true
     */
    @ApiModelProperty("备注")
    @Column(name = "REMARK")
    private String remark;

    /**
     * 排序
     * <p>
     * Table:     T_RIIM_RISK_ASSIGNMENT
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
    private Integer rowOrder;

    private static final long serialVersionUID = 1L;
}